package com.xw.dao;

import com.xw.model.PlayRecordSon;
import com.xw.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface PlayRecordSonMapper extends MyMapper<PlayRecordSon> {

    PlayRecordSon findNearVideoItemId(@Param("userId") String userId,@Param("videosId") String videosId);

    Integer delPlayRecordByUserId(@Param("userId") String userId,@Param("list") List<String> idList);
}